home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 12864 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  4.3 KB

  1. Path: goanna.cs.rmit.EDU.AU.!not-for-mail
  2. From: rav@goanna.cs.rmit.edu.au (++           robin)
  3. Newsgroups: comp.lang.pl1,comp.lang.c
  4. Subject: Re: Converting PL1 Code to C Code
  5. Date: 3 Apr 1996 16:34:04 +1000
  6. Organization: Comp Sci, RMIT, Melbourne, Australia
  7. Message-ID: <4jt64s$msg@goanna.cs.rmit.edu.au>
  8. References: <4j81ep$eg@news00.btx.dtag.de> <Pine.LNX.3.91.960330092230.3301A-100000@www.rdgroup.com>
  9. NNTP-Posting-Host: goanna.cs.rmit.edu.au
  10. X-Newsreader: NN version 6.5.0 #0 (NOV)
  11.  
  12.     Lon Amick <amick@rdgroup.com> writes:
  13.  
  14.     >How does one make an orderly transition away from PL/I to C?
  15.     >So far this question seems to have generated a lot more heat than light.
  16.  
  17. ---The question has one clear outcome -- generally, PL/I
  18. can't be converted to C because doesn't have the fundamental
  19. capability that PL/I has.  At best, it would be a difficult
  20. job, and the final result will, in most cases, be less
  21. than satisfactory because C lacks error handling.
  22. The C version would be very difficult to maintain, because
  23. it lacks the debug facilities of PL/I.
  24.  
  25.     >I know it seems incomprehensible that anyone would want to convert to C,
  26.     >but there are reasons.  
  27.  
  28.     >1. Portability
  29.     >   At this time I know of no set of PL/I compilers that would allow a single
  30.     >   set of code to run on Macintosh, NT, Windows 95, Linux and VMS.  There are
  31.     >   C compilers that would allow this. 
  32.  
  33. ---PL/I runs on VMS, and has done so for many years.  Originally
  34. UniPrise supplied the compilers for DEC, then
  35. Digital provided the compilers for their systems, but now
  36. UniPrise provide and develop PL/I for Digital.  Their
  37. latest compiler was introduced in December 1995.  I think,
  38. but am not sure OTOMH, that Liant's PL/I is now available
  39. under Windows NT.  IBM's PL/I compiler is currently being beta
  40. tested on Windows 95 and NT.  PL/I runs under OS/2, and under OS/2
  41. runs Windows 3.1.  We don't know of a version of PL/I that
  42. runs under Linux, but suggest you see Liant, who have PL/I
  43. under a number of unix platforms.  That only leaves the MacIntosh.
  44.  
  45.    PL/I runs under a wide range of unix syatems (that's why
  46. Liant call theirs "Open PL/I") including the PC.
  47.  
  48.    You might be interested in getting the OS/2 veraion, as
  49. it is unconstrained by 640Kb and 4Mb limits.  It's also
  50. a better OS in terms of reliabilty.
  51.  
  52.     >2. Resources
  53.     >   There are virtually no programmers with PL/I skills in my market, but the
  54.     >   universities are producing many new C programmers each semester.
  55.     >   In order for me to continue using PL/I I have to hire C programmers 
  56.     >   and then invest in training them in the ways of PL/I. 
  57.  
  58. ---Universities are producing graduates with PL/I skills,
  59. while PL/I courses are being offered by other educationalists.
  60. You probably haven't scratched too deeply for people with
  61. PL/I skills.  There are many experienced hands out there.
  62.  
  63.     >3. Oligopolisitic Marketplace
  64.     >   While IBM has recently become active in PL/I compiler development (and I 
  65.     >   wish them well) DEC has recently sold its PL/I technology and withdrawn 
  66.     >   from the market.
  67.  
  68. ---Digital have not "withdrawn" from the market, as you put it.
  69. They have, however, come to an arrangement with UniPrise to
  70. produce, develop, and maintain PL/I compilers for Digital's
  71. machines and their customers.  Digital's customers still
  72. purchase their compilers through Digital.
  73.  
  74.    UniPrise have just released a new version of PL/I
  75. compiler for Digital's computers (December 1995) with
  76. excellent new manuals.
  77.  
  78.     >   There are very few compiler providers left and the 
  79.     >   lack of compiler competition allows the compiler shops to charge higher 
  80.     >   prices and provide lower levels of service and innovation.
  81.  
  82. ---Competition?   Nonsense!  All of the compiler manufacturers
  83. are competing among each other for the market.  They each
  84. offer the "options" of their competitors.  The "lack of competition"
  85. you mention has recently resulted in a reduction of prices for
  86. the wares of one provider.  The "lack of competition" has resulted
  87. in IBM producing new compilers for OS/2, AIX, and Windows
  88. (under beta test) with new, extensive PL/I language features.
  89.  
  90.     >For some of us the issue Alexander raises is not of immediate importance, 
  91.     >but I suspect that eventually we'll all be interested in the answer.
  92.     >Lon Amick
  93.  
  94. ---Not really.  As for me, I'm not hanging around waiting
  95. for other languages to catch up to PL/I in terms of the facilities
  96. PL/I provides, the ease of writing programs, &c.
  97.